import { http } from 'uview-plus'

// 分类列表
export const categoryListApi = (params) => http.get('/api/category/list', { params })

// 商品列表
export const productListApi = (params) => http.get('/api/product/list', { params })

// 商品详情
export const productDetailApi = (params) => http.get(`/api/product/${params}`)
